package com.caipiao.service;




import com.caipiao.pojo.ObjectResult;
import com.caipiao.pojo.SMobileCode;
import com.caipiao.pojo.XMLBean;

import java.text.ParseException;

/**
 * Created by yangweijian on 2018/1/15.
 */
public interface MobileCodeService {
    //校验验证码
    ObjectResult checkMobileCode(XMLBean xmlBean);
    //添加短信记录
    void insertMobileCode(SMobileCode mobileCode);
    //短信验证码
    ObjectResult sms_code(XMLBean xmlBean, String ip) throws ParseException, Exception;

}
